<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>	
<script type="text/javascript" src="${pageContext.request.contextPath}/js/web/patient/list.js"></script>
<link href="${pageContext.request.contextPath}/js/date/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" media="all" href="${pageContext.request.contextPath}/js/date/daterangepicker-bs3.css" />
<script type="text/javascript" src="${pageContext.request.contextPath}/js/date/moment.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/date/daterangepicker.js"></script>
	
<ul id="myTab" class="nav nav-tabs">
	<li class="active">
		<a href="#day" onclick="query('day')" data-toggle="tab">本日</a>
	</li>
	<li><a href="#week" onclick="query('week')" data-toggle="tab">本周</a></li>
	<li><a href="#month" onclick="query('month')" data-toggle="tab">本月</a></li>
	<li><a href="#condition" onclick="query('condition')" data-toggle="tab">条件查询</a></li>
</ul>
<div id="myTabContent" class="tab-content">
	<div class="tab-pane fade in active" id="day">
		<p></p>
	</div>
	<div class="tab-pane fade" id="week">
		<p></p>
	</div>
	<div class="tab-pane fade" id="month">
		<p></p>
	</div>
	<div class="tab-pane fade" id="condition">
		<div class="m-b-md">
			<form class="form-inline" role="form" id="searchForm" name="searchForm">
				<div class="form-group">
					<input type="hidden" name="patientFormMap.type" value="condition">
					<label class="control-label"> <span
						class="h4 font-thin v-middle">姓       名:</span></label> <input
						class="input-medium ui-autocomplete-input" id="patientName"
						name="patientFormMap.patientName">
					<label class="control-label"> <span
						class="h4 font-thin v-middle">患者编号:</span></label> <input
						class="input-medium ui-autocomplete-input" id="patientNumber"
						name="patientFormMap.patientNumber">
					<label class="control-label"> <span
						class="h4 font-thin v-middle">创建日期:</span></label>
						<input type="text" readonly class="input-medium ui-autocomplete-input" name="patientFormMap.create_time" id="reservation" value="" /> 
				</div>
				<a href="javascript:void(0)" class="btn btn-default" id="search">查询</a>
			</form>
		</div>
	</div>
</div>
<div class="table-responsive">
	<div id="paging" class="pagclass"></div>
</div>
<div class="table-responsive">
	<div id="paging2" class="pagclass"></div>
</div>
	
<script type="text/javascript">
    $(document).ready(function() {
       $('#reservation').daterangepicker(null, function(start, end, label) {
         console.log(start.toISOString(), end.toISOString(), label);
       });
    });
</script>